package com.mtsmda.designPattern.abstract_factory;

import com.mtsmda.designPattern.factory.Computer;

public class Test {

	public static void main(String[] args) {
		
		Computer pc = new ComputerFactory().getComputer(new PCFactory("500Gb", "4Gb", "core i3"));
		Computer server = new ComputerFactory().getComputer(new ServerFactory("1Tb", "8Gb", "core i7"));
		System.out.println(pc.toString());
		System.out.println(server.toString());
		
	}

}